GENERATE INDEX PAGE: Change the information below that you wish to update."; $connection = mysql_connect("$host","$user","$pass") or die("Couldn't make connection."); $db = mysql_select_db("$database", $connection) or die("Couldn't select database."); $sql = "SELECT * FROM pages WHERE page_id='$page_id' "; $sql_result = mysql_query($sql,$connection) or die("Couldn't Check if this email already exsist in the database"); $row = mysql_fetch_array($sql_result); $membership_id=$row["page_membership_id"]; $page_content=$row["page_content"]; $page_name=$row["page_name"]; } ?>


To finish creating the index page, paste the content below to a text editor or html editor that supports php tags.

Then, save it as a file your server will recognize as the index file. Also, it must be executable by php, so generally you will need to name it index.php, index.php3, or index.phtml.

Once you have saved it, you will need to save it to the directory you with to password protect. (via ftp if you are not local to your web server.) Once this is done, your setup should be complete!